package com.householdregister.residence.domain;

import com.householdregister.common.annotation.Excel;
import com.householdregister.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 户口管理对象 household_register
 * 
 * @author zyj
 * @date 2022-02-22
 */
public class HouseholdResidence extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 户号 */
    @Excel(name = "户号")
    private String householdsNo;

    /** 是否为军属 */
    @Excel(name = "是否为军属")
    private String isMilitaryFamilies;

    /** 户主身份证号 */
    @Excel(name = "户主身份证号")
    private String idCard;

    /** 户主姓名 */
    @Excel(name = "户主姓名")
    private String name;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区县 */
    @Excel(name = "区县")
    private String county;

    /** 户口所在地 */
    @Excel(name = "户口所在地")
    private String address;

    /** 户口性质 */
    @Excel(name = "户口性质")
    private String type;

    /** 签证机关 */
    @Excel(name = "签证机关")
    private String visaAgencies;
    /** 户籍状态 */
    @Excel(name = "户籍状态")
    private String status;

    private Integer peopleCount;

    public Integer getPeopleCount() {
        return peopleCount;
    }

    public void setPeopleCount(Integer peopleCount) {
        this.peopleCount = peopleCount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHouseholdsNo(String householdsNo) 
    {
        this.householdsNo = householdsNo;
    }

    public String getHouseholdsNo() 
    {
        return householdsNo;
    }
    public void setIsMilitaryFamilies(String isMilitaryFamilies)
    {
        this.isMilitaryFamilies = isMilitaryFamilies;
    }

    public String getIsMilitaryFamilies()
    {
        return isMilitaryFamilies;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setVisaAgencies(String visaAgencies) 
    {
        this.visaAgencies = visaAgencies;
    }

    public String getVisaAgencies() 
    {
        return visaAgencies;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("householdsNo", getHouseholdsNo())
            .append("isMilitaryFamilies", getIsMilitaryFamilies())
            .append("idCard", getIdCard())
            .append("name", getName())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("address", getAddress())
            .append("type", getType())
            .append("visaAgencies", getVisaAgencies())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
